<?php

class printStyle {


	static public function getFormats(){
		
		$output = array();
		
		foreach(unserialize(REGISTERED_OUTPUTS) as $printFormat){
			$formatter = new $printFormat;		
		
		
			$output[$printFormat] = array(
				"name" => $formatter->getFormatName(),
				"devices" => $formatter->getDevices(),
				"cells" => $formatter->getCellCount(),
				"rows" => $formatter->getRows(),
				"columns" => $formatter->getColumns()
			);
		
		}
		return $output;
	}

}

?>